#include<iostream>
#include<deque>
using namespace std;

int main()
{
	deque<int> dq;
	dq.push_back(1);
	dq.push_back(2);
	dq.push_back(3);
	dq.push_back(4);
	for (size_t i = 0; i < dq.size(); i++)
	{
		cout<<dq[i]<<" ";
	}
	cout << endl;
	return 0;
}